package com.tianji.learning.domain.dto;

import com.tianji.learning.domain.po.LearningRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import lombok.NoArgsConstructor;

import java.util.List;

/**
 * ClassName: LearningLessonDTO
 * Package: com.tianji.learning.domain.dto
 * Description:
 *
 * @Author 陈宽
 * @Create 2025/6/28 20:53
 */
@Data
@ApiModel(description = "课程的学习进度实体")
@NoArgsConstructor
@AllArgsConstructor(staticName = "of")
public class LearningLessonDTO {
    //课表id，最近学习的小结id，以及一个list，里面是小节id，视频播放的进度，是否完结
    @ApiModelProperty("课表id")
    private Long id;
    @ApiModelProperty("最近学习小节id")
    private Long lastLearnSectionId;
    @ApiModelProperty("小节播放进度")
    private List<LearningRecord> records;
}
